import request from '../../utils/Request'

export const selectCurrentUser = bid => {
    return request({
        method: 'get',
        url: '/api/platform/personal/current',
        params: {}
    })
}

export const updatePersonal = data => {
    return request({
        method: 'post',
        url: '/api/platform/personal/update',
        data: data
    })
}

export const updatePassword = data => {
    return request({
        method: 'post',
        url: '/api/platform/personal/update/password',
        data: data
    })
}
